package com.zjhcsoft.auth.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 法人表
 * </p>
 *
 * @author wzya
 * @since 2021-03-29
 */
@TableName("T_CORPORATION")
@KeySequence("mybatisPlusKeyGenerator")
public class Corporation implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 法人系统唯一标识
     */
    @TableId(type=IdType.INPUT)
    private Long id;

    /**
     * 法人标识
     */
    @TableField("CORPORATION_CODE")
    private String corporationCode;

    /**
     * 法人名称
     */
    @TableField("CORPORATION_NAME")
    private String corporationName;

    /**
     * 创建时间
     */
    @TableField("CREATED_TIME")
    private Date createdTime;

    /**
     * 更新时间
     */
    @TableField("UPDATED_TIME")
    private Date updatedTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCorporationCode() {
        return corporationCode;
    }

    public void setCorporationCode(String corporationCode) {
        this.corporationCode = corporationCode;
    }

    public String getCorporationName() {
        return corporationName;
    }

    public void setCorporationName(String corporationName) {
        this.corporationName = corporationName;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    @Override
    public String toString() {
        return "Corporation{" +
        "id=" + id +
        ", corporationCode=" + corporationCode +
        ", corporationName=" + corporationName +
        ", createdTime=" + createdTime +
        ", updatedTime=" + updatedTime +
        "}";
    }
}
